﻿namespace KLF.Lib.Browser.Events
{
    #region Using Statements

    using KLF.Lib.Browser.DOM.HTML;

    #endregion

    public class ScriptEventArgs : DocumentEventArgs
    {
        #region Constructors

        public ScriptEventArgs(HTMLDocument _doc, HTMLScriptElement _script)
            : base(_doc)
        {
            Script = _script;
        }

        #endregion

        /// <summary>
        /// The script block that is about to execute.
        /// </summary>
        public HTMLScriptElement Script;
    }
}
